import Layout from '@/layout/Layout'

const equipRouter = {
  path: '/equip',
  component: Layout,
  redirect: 'noredirect',
  name: '设备管理',
  meta: {
    title: '设备管理',
    icon: 'fa-calculator'
  },
  children: [
    {
      path: 'equipOpenPoolManagement',
      component: () => import('@/views/equip/equipOpenPool/EquipOpenPoolManagement'),
      name: 'EquipOpenPoolManagement',
      meta: { title: '设备开通池',cache: true}
    },
    {
      path: 'beeperManagement',
      component: () => import('@/views/equip/beeper/BeeperManagement'),
      name: 'BeeperManagement',
      meta: { title: '呼叫器',cache: true}
    },
    {
      path: 'beeperClassifyManagement',
      component: () => import('@/views/equip/beeper/BeeperClassifyManagement'),
      name: 'BeeperTypeManagement',
      meta: { title: '呼叫器分类',cache: true}
    },
    {
      path: 'receiverManagement',
      component: () => import('@/views/equip/receiver/ReceiverManagement'),
      name: 'ReceiverManagement',
      meta: { title: '接收器',cache: true}
    },
    {
      path: 'smokeManagement',
      component: () => import('@/views/equip/smoke/SmokeManagement'),
      name: 'SmokeManagement',
      meta: { title: '烟雾报警器',cache: true}
    },
    {
      path: 'gasManagement',
      component: () => import('@/views/equip/gas/GasManagement'),
      name: 'GasManagement',
      meta: { title: '燃气报警器',cache: true}
    },
    {
      path: 'doorLockManagement',
      component: () => import('@/views/equip/doorLock/DoorLockManagement'),
      name: 'DoorLockManagement',
      meta: { title: '门磁报警器',cache: true}
    },
    {
      path: 'sosManagement',
      component: () => import('@/views/equip/sos/SosManagement'),
      name: 'SosManagement',
      meta: { title: 'SOS报警器',cache: true}
    },
    {
      path: 'radarManagement',
      component: () => import('@/views/equip/radar/RadarManagement'),
      name: 'RadarManagement',
      meta: { title: '跌倒报警器',cache: true}
    },
    {
      path: 'infraredManagement',
      component: () => import('@/views/equip/infrared/InfraredManagement'),
      name: 'InfraredManagement',
      meta: { title: '红外探测器',cache: true}
    },
    {
      path: 'waterFloodManagement',
      component: () => import('@/views/equip/water/WaterFloodManagement'),
      name: 'WaterFloodManagement',
      meta: { title: '水浸卫士',cache: true}
    },
    {
      path: 'cameraManagement',
      component: () => import('@/views/equip/camera/CameraManagement'),
      name: 'CameraManagement',
      meta: { title: '摄像头',cache: true}
    },
    {
      path: 'printerManagement',
      component: () => import('@/views/equip/printer/PrinterManagement'),
      name: 'PrinterManagement',
      meta: { title: '打印机',cache: true}
    },
    {
      path: 'sleepManagement',
      component: () => import('@/views/equip/sleep/SleepManagement'),
      name: 'SleepManagement',
      meta: { title: '睡眠检测仪',cache: true}
    },
    {
      path: 'sugarManagement',
      component: () => import('@/views/equip/sugar/SugarManagement'),
      name: 'SugarManagement',
      meta: { title: '血糖仪',cache: true}
    },
    {
      path: 'pressureManagement',
      component: () => import('@/views/equip/pressure/PressureManagement'),
      name: 'PressureManagement',
      meta: { title: '血压仪',cache: true}
    },
    {
      path: 'dynamicPressureManagement',
      component: () => import('@/views/equip/dynamicPressure/DynamicPressureManagement'),
      name: 'DynamicPressureManagement',
      meta: { title: '动态血压仪',cache: true}
    },
    {
      path: 'crutchManagement',
      component: () => import('@/views/equip/crutch/CrutchManagement'),
      name: 'CrutchManagement',
      meta: { title: '拐杖',cache: true}
    },
    {
      path: 'locatingShoeManagement',
      component: () => import('@/views/equip/locatingShoe/LocatingShoeManagement'),
      name: 'locatingShoeManagement',
      meta: { title: '定位鞋',cache: true}
    },
    {
      path: 'badgeManagement',
      component: () => import('@/views/equip/badge/BadgeManagement'),
      name: 'BadgeManagement',
      meta: { title: '胸牌',cache: true}
    },
    {
      path: 'watchManagement',
      component: () => import('@/views/equip/watch/WatchManagement'),
      name: 'WatchManagement',
      meta: { title: '手表',cache: true}
    },
    {
      path: 'specimenManagement',
      component: () => import('@/views/equip/specimen/SpecimenManagement'),
      name: 'SpecimenManagement',
      meta: { title: '标本箱',cache: true}
    },
    {
      path: 'cloudTrumpetManagement',
      component: () => import('@/views/equip/cloudTrumpet/CloudTrumpetManagement'),
      name: 'cloudTrumpetManagement',
      meta: { title: '云喇叭',cache: true}
    },
    {
      path: 'aedManagement',
      component: () => import('@/views/equip/aed/AedManagement'),
      name: 'aedManagement',
      meta: { title: '除颤仪',cache: true}
    },
    {
      path: 'allEquipManagement',
      component: () => import('@/views/equip/allEquip/AllEquipManagement'),
      name: 'allEquipManagement',
      meta: { title: '所有设备',cache: true}
    },
  ]
}

export default equipRouter
